<?php       
        require("../inc/models/contact_keywords_model.php");
        if(isset($_POST['submit']))
        {
                $row = $_POST;
                SaveContactKeyword($row);
                header("Location: index.php");
                    
        }
        else       
	    {
        	$results = GetContactKeyword($_REQUEST['id']);
		}
?>
<!DOCTYPE html>
<html lang="en">
        <?php include('../inc/header.php'); ?>
        <body>
        <?php include('../inc/navigation.php'); ?>
                        <div class="span9">
                                <div class="row-fluid">
                                        <h2><?=$results['Method'] ?></h2>
                                        
                                        <form class="well" method="post" action="#">
                                                <div class="control-group">
                                        <label class="control-label" for="name">Contact Keyword:</label>
                                     <div class="controls">
                                        <input type="text" name="name" id="name" value="<?=$results['Method']?>"/>
                                       </div>
                                    </div>
                                    <input type="hidden" name="id" value="<?=$_GET['id'] ?>" />
                                                <input type="submit" name="submit" value="Submit" />
                                        </form>
                                </div>
                        </div>                
        <!-- All Bootstrap JavaScript Files -->
        <script src="../inc/bootstrap/js/jquery.js"></script>
    <script src="../inc/bootstrap/js/bootstrap.js"></script>
        
        </body>
</html>
